Matthias Clasen [Sat, 22 Nov 2014 02:42:52 +0000 (21:42 -0500)]
3.15.2
Matthias Clasen [Mon, 24 Nov 2014 00:30:14 +0000 (19:30 -0500)]
Add missing api to the docs
Matthias Clasen [Mon, 24 Nov 2014 00:16:49 +0000 (19:16 -0500)]
GtkModelButton: Add docs
Matthias Clasen [Sun, 23 Nov 2014 23:52:45 +0000 (18:52 -0500)]
Update expected results
Matthias Clasen [Sun, 23 Nov 2014 23:29:04 +0000 (18:29 -0500)]
notify test: Exclude a few new properties
The button properties don't make sense on GtkModelButton (indicating
that GtkModelButton should really not be a GtkButton subclass).
Matthias Clasen [Sun, 23 Nov 2014 23:25:35 +0000 (18:25 -0500)]
GtkGLArea: avoid extraneous property notifications
Matthias Clasen [Sun, 23 Nov 2014 20:05:01 +0000 (15:05 -0500)]
GtkModelButton: specify the proper default values
Caught by the defaultvalue test: ::text starts out as "", and
::iconic should be FALSE by default.
Carlos Garnacho [Tue, 11 Nov 2014 11:07:24 +0000 (12:07 +0100)]
wayland: Pass shadow width to the compositor
Use xdg_surface_set_window_geometry() to tell the compositor about the
shadow widths, this makes some gnome-shell/mutter features (edge resistance,
frames around windows in the overview, side maximization, ...) work alright
with GTK+.
In order to add this, some other places in gdkwindow-wayland had to gain
some knowledge about margins:
- xdg_surface_configure() now syncs the shadow after applying the state,
and gdk_wayland_window_set_shadow_width() possibly reconfigures the
window in order to preserve window geometry. This is necessary to keep
shadows in sync with state/geometry changes, as this does not happen
all at once.
- xdg_popups relative to an xdg_surface are shown relative to buffer
coordinates, so the left/top margins must be added there.
https://bugzilla.gnome.org/show_bug.cgi?id=736742
Matthias Clasen [Sun, 23 Nov 2014 02:37:39 +0000 (21:37 -0500)]
inspector: Show object title in menu tab
Matthias Clasen [Sun, 23 Nov 2014 02:33:57 +0000 (21:33 -0500)]
inspector: Add menu models to the tree
Add both the appmenu and the menubar models as children of the
application, if they exist.
Matthias Clasen [Sun, 23 Nov 2014 01:56:49 +0000 (20:56 -0500)]
inspector: Show object title in size groups tab
Matthias Clasen [Sun, 23 Nov 2014 01:13:26 +0000 (20:13 -0500)]
inspector: Show object title in data tab
Matthias Clasen [Sat, 22 Nov 2014 21:21:39 +0000 (16:21 -0500)]
inspector: Show object title on the style property list
As with the property list, this replaces the search bar by
a stack containing a search entry.
Matthias Clasen [Sat, 22 Nov 2014 21:21:17 +0000 (16:21 -0500)]
inspector: Show object title on selector tab
Matthias Clasen [Sat, 22 Nov 2014 20:40:24 +0000 (15:40 -0500)]
inspector: Show object title in actions tab
Matthias Clasen [Sat, 22 Nov 2014 18:54:16 +0000 (13:54 -0500)]
inspector: Show object title in hierarchy tab
Matthias Clasen [Sat, 22 Nov 2014 18:41:21 +0000 (13:41 -0500)]
inspector: Show object title in the classes tab
Matthias Clasen [Sat, 22 Nov 2014 18:26:53 +0000 (13:26 -0500)]
inspector: Show object title in the css tab
Matthias Clasen [Sat, 22 Nov 2014 18:12:41 +0000 (13:12 -0500)]
inspector: Show object title in the gestures tab
Matthias Clasen [Sat, 22 Nov 2014 18:03:20 +0000 (13:03 -0500)]
inspector: Show object title in the signals tab
Matthias Clasen [Sat, 22 Nov 2014 16:41:24 +0000 (11:41 -0500)]
inspector: Show object title in the properties tab
Replace the search bar with a search entry in a stack to make
this work without unseemly height changes.
Matthias Clasen [Sat, 22 Nov 2014 14:53:40 +0000 (09:53 -0500)]
inspector: Show object title in the misc tab
Matthias Clasen [Sat, 22 Nov 2014 20:40:46 +0000 (15:40 -0500)]
inspector: Store object title on object
Matthias Clasen [Sat, 22 Nov 2014 11:46:28 +0000 (06:46 -0500)]
inspector: Drop an unused argument
Matthias Clasen [Sat, 22 Nov 2014 18:02:56 +0000 (13:02 -0500)]
inspector: Trivial typo fix
Matthias Clasen [Sat, 22 Nov 2014 01:58:25 +0000 (20:58 -0500)]
GtkGLArea: Formatting fixes
Jasper St. Pierre [Sat, 22 Nov 2014 17:07:51 +0000 (09:07 -0800)]
gdkinternals: Document our drawing and painting process better
Jasper St. Pierre [Sat, 22 Nov 2014 18:17:22 +0000 (10:17 -0800)]
gdkgl: Texture quads in one giant draw call
This requires us to use GL_TRIANGLES and six verts per quad instead
of four, which makes me think it might not be worth it on
well-optimized GL drivers. However, from talking to some driver
developers about it, the GL_TRIANGLES should be faster, since this
means that there's one giant contiguous buffer instead of many small
buffers.
If we were really rendering a lot of quads, I'd use an element buffer
and GL_PRIMITIVE_RESTART, but we're really not ever rendering that
many quads, and the setup cost for that would just be too annoying.
Jasper St. Pierre [Sat, 22 Nov 2014 18:12:58 +0000 (10:12 -0800)]
gdkgl: Use one VBO for both position and uv attributes
Jasper St. Pierre [Sat, 22 Nov 2014 17:47:35 +0000 (09:47 -0800)]
gdkgl: Texture many quads at once for performance reasons
This isn't fully performant yet. To be fully performant, we'd need to
do everything in one giant buffer.
Jasper St. Pierre [Sat, 22 Nov 2014 18:01:51 +0000 (10:01 -0800)]
gdkglcontext-x11: Make sure to enable the scissor test
Jasper St. Pierre [Sat, 22 Nov 2014 17:39:18 +0000 (09:39 -0800)]
gdkgl: Use a GdkTexturedQuad struct to paint quads
We'll soon have a new function that paints multiple quads.
Jasper St. Pierre [Sat, 22 Nov 2014 17:29:27 +0000 (09:29 -0800)]
gdkgl: Clean up program-manipulating code
Abstract the program ID and locations into a "program struct" which
we then use.
Jasper St. Pierre [Sat, 22 Nov 2014 16:12:22 +0000 (08:12 -0800)]
gdkwindow: Clean up whitespace slightly
This has been bothering me for a while.
Jasper St. Pierre [Sat, 22 Nov 2014 16:08:34 +0000 (08:08 -0800)]
gdkwindow: Don't pass the region to the impl when beginning a paint
It's unused. At the same time, rename "begin_paint_region" to
"begin_paint". This will help us clean up how GDK painting works
in the future to allow more creative use of double-buffering.
Jasper St. Pierre [Sat, 22 Nov 2014 16:06:09 +0000 (08:06 -0800)]
quartz: Don't bother storing the paint_clip_region
It's unused.
Marco Trevisan (Treviño) [Fri, 21 Nov 2014 03:44:44 +0000 (04:44 +0100)]
mir: initialize surface name with program name
Josef Andersson [Thu, 20 Nov 2014 20:55:11 +0000 (20:55 +0000)]
Updated Swedish translation
Piotr Drąg [Thu, 20 Nov 2014 15:46:38 +0000 (16:46 +0100)]
Updated POTFILES.in
Alexander Larsson [Thu, 20 Nov 2014 14:36:21 +0000 (15:36 +0100)]
GL: Fix typo in gdk_gl_texture_from_surface
Got a sign wrong in commit
800c712738f5666937e32d9f8cb32353513b9423
Chun-wei Fan [Thu, 20 Nov 2014 14:35:05 +0000 (22:35 +0800)]
Visual Studio Builds: Fix gdkconfig.h Generation
...for Broadway builds, as it was producing a wrongly-named check file for
that configuration, so that a clean would not be correctly performed and
subsequently affected rebuilds.
Alexander Larsson [Thu, 20 Nov 2014 11:22:06 +0000 (12:22 +0100)]
GdkGLContext: Remove unused update vfunc
The update virtual function for GdkGLContext is unused and is a
leftover from a previous GL approach. Just remove it.
https://bugzilla.gnome.org/show_bug.cgi?id=739750
Alexander Larsson [Thu, 20 Nov 2014 10:53:09 +0000 (11:53 +0100)]
GL: Fix GL Y coordinate flipping to use unscaled window height
This is needed in the edge case where the X11 backend rounded the actual
size, and the GL flipping really needs the correct window height to
do proper Y coordinate flipping.
https://bugzilla.gnome.org/show_bug.cgi?id=739750
Alexander Larsson [Thu, 20 Nov 2014 10:50:11 +0000 (11:50 +0100)]
Add gdk_window_get_unscaled_size
This is required for the X backend GL integration. If the
window has a height that is not a multiple of the window scale
we can't properly do the y coordinate flipping that GL needs.
Other backends can ignore this and use the default implementation.
https://bugzilla.gnome.org/show_bug.cgi?id=739750
Alexander Larsson [Thu, 20 Nov 2014 09:42:55 +0000 (10:42 +0100)]
x11: Return the exact pixel coverage in get_frame_extents
Rather than just rounding down the position *and* the size separately
we correctly calculate a rectangle in scaled window coords that fully
covers the real window size. This really only makes a difference
when the window size/position isn't a multiple of the window scale.
https://bugzilla.gnome.org/show_bug.cgi?id=739750
Owen W. Taylor [Thu, 6 Nov 2014 22:17:45 +0000 (17:17 -0500)]
x11: Keep track of the exact size in X pixels of windows
Keep track of the exact size of X windows in underlying pixels; we
generally use the scaled size instead, but to properly handle the GL
viewport for windows that aren't a multiple of window_scale,
we need to know the real size.
https://bugzilla.gnome.org/show_bug.cgi?id=739750
Owen W. Taylor [Thu, 6 Nov 2014 21:17:33 +0000 (16:17 -0500)]
x11: round the scaled size *up* when we get a ConfigureNotify
Although we specify a resize increment to try and get a size that is
a multiple of the window scale, maximization typically wins
over the resize increment, so the window might be odd sized.
Round *up* in this case, rather than down, since it's better to
truncate a line or two at the bottom and right of the window rather
than have a line or two that we don't know what to do with.
https://bugzilla.gnome.org/show_bug.cgi?id=739750
Marco Trevisan (Treviño) [Thu, 20 Nov 2014 04:51:12 +0000 (05:51 +0100)]
mir: use proper naming for mir window type checking macro
Marco Trevisan (Treviño) [Thu, 20 Nov 2014 03:41:45 +0000 (04:41 +0100)]
mir: add public getter for the internal MirSurface
Marco Trevisan (Treviño) [Thu, 20 Nov 2014 03:41:06 +0000 (04:41 +0100)]
mir: don't use struct MirConnection*, just the latter
Marco Trevisan (Treviño) [Tue, 18 Nov 2014 21:23:52 +0000 (22:23 +0100)]
mir: add OpenGL support
Implement GdkGLContext using EGL and use hardware mir surfaces
when a GdkWindow uses gl rendering.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=740346
Matthias Clasen [Wed, 19 Nov 2014 13:40:10 +0000 (14:40 +0100)]
GtkModelButton: Don't show both text and icon
The intention was that ::iconic indicates which representation is
preferred (text or icon). We fall back to the other representation
if one is missing.
Matthias Clasen [Wed, 19 Nov 2014 08:26:25 +0000 (09:26 +0100)]
GtkPopoverMenu: be more careful about change notification
Only emit notify for ::visible-submenu when the visible page
in the stack actually changed.
Kjartan Maraas [Wed, 19 Nov 2014 18:42:51 +0000 (19:42 +0100)]
Updated Norwegian bokmål translation.
Kjartan Maraas [Wed, 19 Nov 2014 18:30:46 +0000 (19:30 +0100)]
Updated Norwegian bokmål translation.
Daniel Mustieles [Wed, 19 Nov 2014 12:48:15 +0000 (13:48 +0100)]
Updated Spanish translation
Lapo Calamandrei [Tue, 18 Nov 2014 14:16:43 +0000 (15:16 +0100)]
Adwaita: typo fix
Matthias Clasen [Tue, 18 Nov 2014 12:39:15 +0000 (13:39 +0100)]
GtkPopoverMenu: expose more properties
Expose the position as a child property and the visible page
as a property. These are useful in glade.
Matthias Clasen [Tue, 18 Nov 2014 12:36:16 +0000 (13:36 +0100)]
GtkStack: Fix an oversight in child renaming
We currently emit a warning if you rename a child to the name
it already has. We shouldn't do that.
Tom Tryfonidis [Tue, 18 Nov 2014 08:36:28 +0000 (08:36 +0000)]
Updated Greek translation
Timm Bäder [Mon, 17 Nov 2014 17:39:15 +0000 (18:39 +0100)]
Revert "GtkMenuSectionBox: Add tooltip to iconic buttons"
This reverts commit
7543e7b279200ed0aad80574c0a3fa2672f297ce.
Timm Bäder [Mon, 17 Nov 2014 17:39:00 +0000 (18:39 +0100)]
Revert "popover: Add show/hide transition"
This reverts commit
17f48e3a9e3623df2feb76dd209fe80b94b8b5c1.
Timm Bäder [Sun, 16 Nov 2014 09:29:15 +0000 (10:29 +0100)]
GtkDialog: Connect to activate signals only once
If the widget is an action widget, it's been previously added with
gtk_dialog_add_action_widget, which calls add_response_data on it, which
in turn connects to the clicked/activate signal of that widget, so we
don't need to connect to that signal a second time in
gtk_buildable_custom_finished.
Timm Bäder [Fri, 24 Oct 2014 14:58:32 +0000 (16:58 +0200)]
popover: Add show/hide transition
Timm Bäder [Tue, 23 Sep 2014 16:26:53 +0000 (18:26 +0200)]
GtkMenuSectionBox: Add tooltip to iconic buttons
Marco Trevisan (Treviño) [Mon, 17 Nov 2014 16:22:01 +0000 (17:22 +0100)]
mir: update surface type based on events
Carlos Garnacho [Mon, 17 Nov 2014 15:55:08 +0000 (16:55 +0100)]
scrolledwindow: Avoid too frequent redraws of scrollbars
When overshooting through touchpad kinetic scrolling, the scrollbar remains
mostly static as it already hit a boundary. However, the fade in/out checks
are constantly run during scroll events, causing needless redraws in this
specific case.
Carlos Garnacho [Mon, 17 Nov 2014 13:47:57 +0000 (14:47 +0100)]
scrolledwindow: Only render background/frame on the widget window
Otherwise it is rendered too on each indicator window, possibly bringing
in an unintended opaque background there. Better seen with git show -b.
Marco Trevisan (Treviño) [Mon, 17 Nov 2014 12:38:27 +0000 (13:38 +0100)]
mir: fix typo in GDK_IS_WINDOW_MIR definition
Marco Trevisan (Treviño) [Sat, 15 Nov 2014 16:35:07 +0000 (17:35 +0100)]
mir: invert scrolling delta
Robert Ancell [Sun, 16 Nov 2014 21:49:13 +0000 (10:49 +1300)]
mir: Require mirclient >= 0.9.0
Recent changes to the Mir backend require an unreleased version.
Matthias Clasen [Sun, 16 Nov 2014 07:27:20 +0000 (02:27 -0500)]
Make gtk_container_remove work on popover menus
Extend the hack we have in place for composite containers to
GtkPopoverMenu.
Matthias Clasen [Sat, 15 Nov 2014 22:44:39 +0000 (17:44 -0500)]
GtkPopoverMenu: Implement forall
This is required to make glade work.
Lapo Calamandrei [Sat, 15 Nov 2014 18:08:13 +0000 (19:08 +0100)]
Adwaita: no border radius for GtkTreeView:selected
Lapo Calamandrei [Sat, 15 Nov 2014 15:09:39 +0000 (16:09 +0100)]
textview: remove osd style class from touch selection popover
The touch-selection class is sufficient since that needs special
casing whatever.
Lapo Calamandrei [Sat, 15 Nov 2014 15:08:15 +0000 (16:08 +0100)]
entry: remove osd style class from touch selection popover
The touch-selection class is sufficient since that needs special
casing whatever.
Lapo Calamandrei [Sat, 15 Nov 2014 14:54:20 +0000 (15:54 +0100)]
Adwaita: :selected cleanup and rationalization
Marco Trevisan (Treviño) [Fri, 14 Nov 2014 22:18:53 +0000 (23:18 +0100)]
mir: handle more surface types
Marco Trevisan (Treviño) [Fri, 14 Nov 2014 22:18:10 +0000 (23:18 +0100)]
mir: fix compilation in mirscreen
Lapo Calamandrei [Fri, 14 Nov 2014 18:34:09 +0000 (19:34 +0100)]
Adwaita: popover scss cleanup
Lapo Calamandrei [Fri, 14 Nov 2014 17:58:22 +0000 (18:58 +0100)]
Adwaita: more overshoot tweakings and typo fix
Matthias Clasen [Fri, 14 Nov 2014 16:49:33 +0000 (11:49 -0500)]
Make overlay scrollbar fading interruptible
When the pointer starts hovering the scrollbar after it already
started fading out, interrupt the fade and keep the scrollbar
around.
Matthias Clasen [Fri, 14 Nov 2014 16:47:24 +0000 (11:47 -0500)]
Drop unused variables
Keeps the compiler happy.
Lapo Calamandrei [Fri, 14 Nov 2014 14:37:02 +0000 (15:37 +0100)]
Adwaita: overshoot style tweaks
Trying to make it visible on the dark variant.
Matthias Clasen [Fri, 14 Nov 2014 04:10:34 +0000 (23:10 -0500)]
Trivial formatting fix
Matthias Clasen [Fri, 14 Nov 2014 04:09:21 +0000 (23:09 -0500)]
GtkPopover: Survive attach_widget == NULL
We can't render a tail, but otherwise things should just work.
This will be useful in glade.
Chun-wei Fan [Fri, 14 Nov 2014 09:26:29 +0000 (17:26 +0800)]
gdk/gdkgl.c: Fix Typo
The extra ';' actually broke builds on C89 compilers...
Josef Andersson [Thu, 13 Nov 2014 22:01:55 +0000 (22:01 +0000)]
Updated Swedish translation
Carlos Garnacho [Thu, 13 Nov 2014 20:21:39 +0000 (21:21 +0100)]
scrolledwindow: Use a fully transparent background for the overlay window
The background will be already given and updated in the GtkScrollbar widget,
plus the background remained static on the window since it is realized.
Kjartan Maraas [Thu, 13 Nov 2014 20:13:02 +0000 (21:13 +0100)]
Updated Norwegian bokmål translation.
Carlos Garnacho [Thu, 13 Nov 2014 19:30:52 +0000 (20:30 +0100)]
scrolledwindow: Don't doubly draw overlay-indicator scrollbars
The scrollbars are still internal children of the GtkScrolledWindow
and handled in ::forall(), no need to propagate draw here again
after chaining up in ::draw().
Carlos Garnacho [Thu, 13 Nov 2014 19:20:37 +0000 (20:20 +0100)]
gtkpopover: Fix allocation of child widget wrt margins
During size request, all sides' margins are ensured to be as big
as TAIL_HEIGHT, just to avoid possible relocation loops if the
popover doesn't fit in its original position. This must be
accounted for in size_allocate() as well.
Carlos Garnacho [Thu, 13 Nov 2014 19:18:54 +0000 (20:18 +0100)]
scrolledwindow: Only render overshoot on the widget window
Without any check, it was being rendered also on the indicator
GdkWindows, which resulted on an over-exposed effect there.
Lapo Calamandrei [Thu, 13 Nov 2014 17:47:42 +0000 (18:47 +0100)]
Adwaita: reset some properties in the overshoot mixin
Otherwise we may inherit them see:
https://bugzilla.gnome.org/show_bug.cgi?id=740011
Lapo Calamandrei [Thu, 13 Nov 2014 17:31:18 +0000 (18:31 +0100)]
Adwaita: overshoot styling
Daniel Mustieles [Thu, 13 Nov 2014 12:57:46 +0000 (13:57 +0100)]
Updated Spanish translation
Daniel Mustieles [Thu, 13 Nov 2014 12:54:12 +0000 (13:54 +0100)]
Updated Spanish translation
Lapo Calamandrei [Thu, 13 Nov 2014 10:26:40 +0000 (11:26 +0100)]
Adwaita: simplify scrollbar styling
By the use of slider margins. In the process darken the overlay
scrollbar trough in fine-tune mode to make it noticiable.
Matthias Clasen [Thu, 13 Nov 2014 03:50:52 +0000 (22:50 -0500)]
inspector: Add frame clock info
Add the frame clocks of toplevel widgets to the object tree,
and show their frame count and frame rate in the misc tab.
Marco Trevisan (Treviño) [Thu, 13 Nov 2014 03:42:48 +0000 (04:42 +0100)]
mir: get/set window surface type